package com.Tian.service.Impl;

import com.Tian.dao.RoleInfoMapper;
import com.Tian.model.RoleInfo;
import com.Tian.service.RoleInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Service
public class RoleInfoServiceImpl implements RoleInfoService {
    @Autowired(required = false)
    RoleInfoMapper roleInfoMapper;

    @Override
    public List<RoleInfo> selectRoleService() {

        return roleInfoMapper.selectRole();
    }
}
